From: Benjamin Otte Date: Sun, 12 Jun 2022 23:26:20 +0000 (+0200) Subject: reftests: Add inscription reftest for xalign X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~126^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4927b6e62563044613d47827d7763323a87aa8e4;p=gtk4.git reftests: Add inscription reftest for xalign Compare with labels again. --- diff --git a/testsuite/reftests/inscription-xalign.ref.ui b/testsuite/reftests/inscription-xalign.ref.ui new file mode 100644 index 0000000000..08a8ec524b --- /dev/null +++ b/testsuite/reftests/inscription-xalign.ref.ui @@ -0,0 +1,42 @@ + + + + 200 + 0 + + + vertical + + + align +0.0 + word + 1 + 0 + left + + + + + align +0.5 + word + 1 + 0.5 + center + + + + + align +1.0 + word + 1 + 1 + right + + + + + + diff --git a/testsuite/reftests/inscription-xalign.ui b/testsuite/reftests/inscription-xalign.ui new file mode 100644 index 0000000000..d5ae41f3f5 --- /dev/null +++ b/testsuite/reftests/inscription-xalign.ui @@ -0,0 +1,39 @@ + + + + 200 + 0 + + + vertical + + + align +0.0 + word + 2 + 0 + + + + + align +0.5 + word + 2 + 0.5 + + + + + align +1.0 + word + 2 + 1 + + + + + + diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build index eecb7f91ad..068f98b159 100644 --- a/testsuite/reftests/meson.build +++ b/testsuite/reftests/meson.build @@ -375,6 +375,8 @@ testdata = [ 'inscription-overflow-multiline.ui', 'inscription-overflow-yalign.ref.ui', 'inscription-overflow-yalign.ui', + 'inscription-xalign.ref.ui', + 'inscription-xalign.ui', 'label-attribute-preference.css', 'label-attribute-preference.ref.ui', 'label-attribute-preference.ui',